﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sc.Domain
{
    /// <summary>
    /// 
    /// </summary>
    [Serializable]
    public partial class Car_Accident
    {
        #region Model
        private int _id;
        private int _carid;
        private int _driverid;
        private DateTime _igtime;
        private string _igaddress;
        private string _igremark;
        private string _igduty;
        private string _igopinion;
        private decimal? _igmoney;
        private bool _ispay;
        private DateTime? _paytime;
        private bool _hasattachments = false;
        private string _remark;
        private int _instancestate;
        private string _approalusres;
        private int _nodecount;
        private int _userid;
        private int _iggrade;
        private decimal _paymoney;
        private decimal _insurancemoney;
        private string _resunit;
        private string _resuser;
        private string _resdivision;
        private string _accaddress;
        /// <summary>
        /// 事故编号
        /// </summary>
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 车牌
        /// </summary>
        public int CarId
        {
            set { _carid = value; }
            get { return _carid; }
        }
        /// <summary>
        /// 驾驶员
        /// </summary>
        public int DriverId
        {
            set { _driverid = value; }
            get { return _driverid; }
        }
        /// <summary>
        /// 事故时间
        /// </summary>
        public DateTime IgTime
        {
            set { _igtime = value; }
            get { return _igtime; }
        }
        /// <summary>
        /// 事故地点
        /// </summary>
        public string IgAddress
        {
            set { _igaddress = value; }
            get { return _igaddress; }
        }
        /// <summary>
        /// 受损情况
        /// </summary>
        public string IgRemark
        {
            set { _igremark = value; }
            get { return _igremark; }
        }
        /// <summary>
        /// 责任认定
        /// </summary>
        public string IgDuty
        {
            set { _igduty = value; }
            get { return _igduty; }
        }
        /// <summary>
        /// 事故描述
        /// </summary>
        public string IgOpinion
        {
            set { _igopinion = value; }
            get { return _igopinion; }
        }
        /// <summary>
        /// 损失金额
        /// </summary>
        public decimal? IgMoney
        {
            set { _igmoney = value; }
            get { return _igmoney; }
        }
        /// <summary>
        /// 是否处理
        /// </summary>
        public bool IsPay
        {
            set { _ispay = value; }
            get { return _ispay; }
        }
        /// <summary>
        /// 处理时间
        /// </summary>
        public DateTime? PayTime
        {
            set { _paytime = value; }
            get { return _paytime; }
        }
        /// <summary>
        /// 附件
        /// </summary>
        public bool HasAttachments
        {
            set { _hasattachments = value; }
            get { return _hasattachments; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark
        {
            set { _remark = value; }
            get { return _remark; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int InstanceState
        {
            set { _instancestate = value; }
            get { return _instancestate; }
        }
        /// <summary>
        /// 审批人
        /// </summary>
        public string ApproalUsres
        {
            set { _approalusres = value; }
            get { return _approalusres; }
        }
        /// <summary>
        /// 审批节点
        /// </summary>
        public int NodeCount
        {
            set { _nodecount = value; }
            get { return _nodecount; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int UserId
        {
            set { _userid = value; }
            get { return _userid; }
        }
        /// <summary>
        /// 事故等级
        /// </summary>
        public int IgGrade
        {
            set { _iggrade = value; }
            get { return _iggrade; }
        }
        /// <summary>
        /// 支付金额
        /// </summary>
        public decimal PayMoney
        {
            set { _paymoney = value; }
            get { return _paymoney; }
        }
        /// <summary>
        /// 保险公司赔偿金额
        /// </summary>
        public decimal InsuranceMoney
        {
            set { _insurancemoney = value; }
            get { return _insurancemoney; }
        }
        /// <summary>
        /// 责任单位
        /// </summary>
        public string ResUnit
        {
            set { _resunit = value; }
            get { return _resunit; }
        }
        /// <summary>
        /// 责任人
        /// </summary>
        public string ResUser
        {
            set { _resuser = value; }
            get { return _resuser; }
        }
        /// <summary>
        /// 责任划分
        /// </summary>
        public string ResDivision
        {
            set { _resdivision = value; }
            get { return _resdivision; }
        }
        /// <summary>
        /// 事故地点
        /// </summary>
        public string AccAddress
        {
            set { _accaddress = value; }
            get { return _accaddress; }
        }
        #endregion Model
    }
}
